package com.xxxx.server.service;

import com.xxxx.server.pojo.RespBean;
import com.xxxx.server.pojo.Visualdata;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LT
 * @since 2022-03-24
 */
public interface IVisualdataService extends IService<Visualdata> {

    /**
     * 查询用户数量
     * @param today
     * @return
     */
    List<Visualdata> getUsers(LocalDate today);

    List<Visualdata> getLectures(LocalDate today);

    List<Visualdata> getReverses(LocalDate today);

    Integer getTodayUsers();

    Integer getTodayLectures();

    Integer getTodayReverses();


    Integer IsRepeat(LocalDate today);

    /**
     * 通过今天的日期查询编号
     * @param today
     * @return
     */
    Integer getVisualdataIdByTodayId(LocalDate today);
}
